package com.rao.gmall.pay;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author nzmxfan
 * @create 2021-08-23-19:06
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableFeignClients({"com.rao.gmall.feign.order"})
@EnableDiscoveryClient
@EnableCircuitBreaker
public class ServicePayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServicePayApplication.class, args);
    }
}
